import { ThemeConfig } from 'antd'

export const antdTheme: ThemeConfig = {
  token: {
    colorPrimary: '#1890ff',
    colorInfo: '#1890ff',
    colorSuccess: '#52c41a',
    colorWarning: '#faad14',
    colorError: '#f5222d',
  },
  components: {
    Button: {
      algorithm: true,
      colorSuccessBg: '#52c41a',
    },
    Layout: {
      bodyBg: '#f0f2f5',
      lightSiderBg: '#fafafa',
    },
    Menu: {
      colorBgContainer: '#fafafa',
    },
  },
}
